package com.idp.web.dto;

import com.idp.web.entity.Department;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 医院科室列表的dto
 *
 * @author xubinren
 * @version 1.0
 * @date 2018/2/28
 */
@Data
public class DepartmentListDTO {

    /**
     * 科室id
     */
    private String id;

    /**
     * 科室名称
     */
    private String departmentName;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 父id
     */
    private String parentId;

    /**
     * 权重
     */
    private Integer weights;

    /**
     * 子科室数量
     */
    private Integer childNum;

    /**
     * 父级菜单
     */
    private Department parentDepartment;

    /**
     * 子菜单集合
     */
    private List<Department> children = new ArrayList<Department>();

}
